package com.itdaan.portal.business.solr;
/**
 * @author www.itdaan.com
 */
public class PostImage {

	public final static int DOWNLOAD_SUCCESS = 1;
	public final static int DOWNLOAD_WRONG = 0; 
	
	private Long id;
	private String hrefRemote;
	private String hrefLocal;
	private Long postId;
	private String webId;
	private Integer imgWidth;
	private Integer imgHeight;
	private Integer isDownload;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getHrefRemote() {
		return hrefRemote;
	}
	public void setHrefRemote(String hrefRemote) {
		this.hrefRemote = hrefRemote;
	}
	public String getHrefLocal() {
		return hrefLocal;
	}
	public void setHrefLocal(String hrefLocal) {
		this.hrefLocal = hrefLocal;
	}
	public int getImgWidth() {
		return imgWidth;
	}
	public void setImgWidth(Integer imgWidth) {
		this.imgWidth = imgWidth;
	}
	public Integer getImgHeight() {
		return imgHeight;
	}
	public void setImgHeight(Integer imgHeight) {
		this.imgHeight = imgHeight;
	}
	public Integer getIsDownload() {
		return isDownload;
	}
	public void setIsDownload(Integer isDownload) {
		this.isDownload = isDownload;
	}
	
	public String getWebId() {
		return webId;
	}
	public void setWebId(String webId) {
		this.webId = webId;
	}
	public Long getPostId() {
		return postId;
	}
	public void setPostId(Long postId) {
		this.postId = postId;
	}
	
	public String toString() {
		return "PostImage [id=" + id + ", hrefRemote=" + hrefRemote
				+ ", hrefLocal=" + hrefLocal + ", postId=" + postId
				+ ", webId=" + webId + ", imgWidth=" + imgWidth
				+ ", imgHeight=" + imgHeight + ", isDownload=" + isDownload
				+ "]";
	}
	
	
}
